package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author qinyong
 * @Title:
 * @Package com.kuaimacode.kframework.api.vo.request
 * @Description: created by IntelliJ IDEA
 * @date 2019-04-07 16:12
 */
@Data
public class UpdatePushTokenReq {

    @ApiModelProperty(value = "token")
    @NotBlank(message = "token不能为空")
    @Length(max = 120, message = "token字符串长度不能超过120")
    private String token;
    @ApiModelProperty(value = "设备类型，ANDROID：安卓，IOS：ios")
    @NotBlank(message = "设备类型不能为空")
    private String deviceType;
}
